<!--
 * Copyright TLR Team, Inc. All Rights Reserved.
-->

<div class="user2-bg">
    <div class="container-fluid">
        <!-- /.row -->
        <div class="row">
            <div class="device-item-title item-font title-bg">
                <div class="device-title-txt">空气测量仪绑定</div>
                <div class="right-triangle"></div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 device-item-container">
                <div class="device-item background item-font tlr-form-control-layout">
                    <div class="tlr-reg-label">设备码<span style="color:red;">*</span></div>
                    <div style="margin-left:10px;float:left;height:40px;max-width:120px;border-bottom:1px solid grey;" class="device-id">
                        <input type="text" ng-blur="onGetBindIfExist(airm.deviceMac)" class="form-control tlr-login-input device-id-value" ng-model="airm.deviceMac">
                    </div>
                    <div ng-click="scanQRCode()" style="margin-right:10px;float:right; font-size:15px; margin-top: 15px;width:50px;height:30px;background-color:#5D5D5D;border-radius: 5px;">
                        <div style="padding-top: 5px;">扫码</div>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 device-item-container" style="margin-top: 0px;">
                <div class="device-item background item-font tlr-form-control-layout tlr-form-first-offset">
                    <div class="tlr-reg-label">昵称<span style="color:red;">*</span></div>
                    <div style="padding-left:10px;float:left;">
                        <input type="text" class="form-control tlr-login-input" ng-model="airm.nickname">
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 device-item-container" style="margin-top: 8px;">
                <div class="device-item background item-font" style="height:60px;text-align:center;font-size:20px;">
                    <div style="padding-top: 18px;" ng-click="airMeasureDeviceBind()" ><span class="item-font">绑定</span></div>
                </div>
            </div>
        </div>
        <!-- /.row -->
    </div>
</div>
